﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using UEditorNetCore;
using Yes.Core.Context;
using Yes.Core.Helper;
using Yes.Domain.Context;

namespace Yes.Web.Blog.Areas.Admin.Controllers
{
    [Area("Admin")]
    public class UEditorController : BaseController
    {
        private UEditorService ue;
        private IUserContext _userContext;

        public UEditorController(UEditorService ue, IUserContext userContext)
        {
            this.ue = ue;
            _userContext = userContext;
        }


        public void Index()
        {
            ue.DoAction(HttpContext);
        }
    }
}